/*
 * To change this template, choose Tools | Templates and open the template in
 * the editor.
 */
package eypweb_bsc;

import javafx.beans.property.*;

/**
 *
 * @author Kohalmi Istvan
 */

// leltari elemeket leiro osztaly
public class Inventory {
    // elszamolt alap
    private DoubleProperty accountedBase;
    // veteli id
    private StringProperty purchaseId;
    // beszerzes datuma
    private StringProperty acquisitionDate;
    // mennyiseg
    private IntegerProperty quantity;
    // nevertek
    private DoubleProperty nominal;
    // beszerzesi ertek
    private LongProperty acquisitionValue;
    // beszerzesi deviza arfolyam
    private FloatProperty acquisitionRateCurrency;
    // beszerzesi ertek devizaban
    private DoubleProperty acquisitionValueCurrency;
    // piaci ertek
    private LongProperty marketValue;
    // EK - kamat
    private LongProperty derecogniseInterest;
    // EK - osztalek
    private LongProperty derecogniseDividend;
    // EK - egyeb piaci
    private LongProperty derecogniseRateDelta;
    // EK - deviza arfolyam-kulonbozet
    private LongProperty derecogniseCurrencyRateDelta;
    // muveleti azonosito
    private StringProperty serial;
    // konyv szerinti ertek
    private LongProperty accountedValue;
    // vetelarban felszamolt kamat
    private LongProperty accumulatedInterestAccountedPrice;
    // realizalt kamat
    private LongProperty realisedInterest;
    // realizalt osztalek
    private LongProperty realisedDividend;
    // realizalt egyeb piaci rahatas
    private LongProperty realisedRateDelta;
    // realizalt deviza arfolyam-kulonbozet
    private LongProperty realisedCurrencyRateDelta;
    // kivezetett kamat
    private LongProperty derecognisedInterest;
    // kivezetett osztalek
    private LongProperty derecognisedDividend;
    // kivezetett egyeb piaci rahatas
    private LongProperty derecognisedRateDelta;
    // kivezetett deviza arfolyam-kulonbozet
    private LongProperty derecognisedCurrencyRateDelta;

    public Inventory() {
    }

    public DoubleProperty accountedBaseProperty(){
        if (accountedBase==null)
        {
            accountedBase = new SimpleDoubleProperty(this, "accountedBase");
        }
        return accountedBase;
    }
    
    public void setAccountedBase(Double value)
    {
        accountedBaseProperty().set(value);
    }
    
    public Double getAccountedBase()
    {
        return accountedBaseProperty().get();
    }
    
    public StringProperty purchaseIdProperty(){
        if (purchaseId==null)
        {
            purchaseId = new SimpleStringProperty(this, "purchaseId");
        }
        return purchaseId;
    }
    
    public void setPurchaseId(String value)
    {
        purchaseIdProperty().set(value);
    }
    
    public String getPurchaseId()
    {
        return purchaseIdProperty().get();
    }
    
    public StringProperty acquisitionDateProperty(){
        if (acquisitionDate==null)
        {
            acquisitionDate = new SimpleStringProperty(this, "acquisitionDate");
        }
        return acquisitionDate;
    }
    
    public void setAcquisitionDate(String value)
    {
        acquisitionDateProperty().set(value);
    }
    
    public String getAcquisitionDate()
    {
        return acquisitionDateProperty().get();
    }
    
    public IntegerProperty quantityProperty(){
        if (quantity==null)
        {
            quantity = new SimpleIntegerProperty(this, "quantity");
        }
        return quantity;
    }
    
    public void setQuantity(Integer value)
    {
        quantityProperty().set(value);
    }
    
    public Integer getQuantity()
    {
        return quantityProperty().get();
    }
    
    public DoubleProperty nominalProperty(){
        if (nominal==null)
        {
            nominal = new SimpleDoubleProperty(this, "nominal");
        }
        return nominal;
    }
    
    public void setNominal(Double value)
    {
        nominalProperty().set(value);
    }
    
    public Double getNominal()
    {
        return nominalProperty().get();
    }
    
    public LongProperty acquisitionValueProperty(){
        if (acquisitionValue==null)
        {
            acquisitionValue = new SimpleLongProperty(this, "acquisitionValue");
        }
        return acquisitionValue;
    }
    
    public void setAcquisitionValue(Long value)
    {
        acquisitionValueProperty().set(value);
    }
    public Long getAcquisitionValue()
    {
        return acquisitionValueProperty().get();
    }
    
    public LongProperty marketValueProperty(){
        if (marketValue==null)
        {
            marketValue = new SimpleLongProperty(this, "marketValue");
        }
        return marketValue;
    }
    
    public void setMarketValue(Long value)
    {
        marketValueProperty().set(value);
    }
    
    public Long getMarketValue()
    {
        return marketValueProperty().get();
    }
    
    public LongProperty derecogniseInterestProperty(){
        if (derecogniseInterest==null)
        {
            derecogniseInterest = new SimpleLongProperty(this, "derecogniseInterest");
        }
        return derecogniseInterest;
    }
    
    public void setDerecogniseInterest(Long value)
    {
        derecogniseInterestProperty().set(value);
    }
    
    public Long getDerecogniseInterest()
    {
        return derecogniseInterestProperty().get();
    }
    
    public LongProperty derecogniseDividendProperty(){
        if (derecogniseDividend==null)
        {
            derecogniseDividend = new SimpleLongProperty(this, "derecogniseDividend");
        }
        return derecogniseDividend;
    }
    
    public void setDerecogniseDividend(Long value)
    {
        derecogniseDividendProperty().set(value);
    }
    
    public Long getDerecogniseDividend()
    {
        return derecogniseDividendProperty().get();
    }
    
    public LongProperty derecogniseRateDeltaProperty(){
        if (derecogniseRateDelta==null)
        {
            derecogniseRateDelta = new SimpleLongProperty(this, "derecogniseRateDelta");
        }
        return derecogniseRateDelta;
    }
    
    public void setDerecogniseRateDelta(Long value)
    {
        derecogniseRateDeltaProperty().set(value);
    }
    
    public Long getDerecogniseRateDelta()
    {
        return derecogniseRateDeltaProperty().get();
    }
    
    public LongProperty derecogniseCurrencyRateDeltaProperty(){
        if (derecogniseCurrencyRateDelta==null)
        {
            derecogniseCurrencyRateDelta = new SimpleLongProperty(this, "derecogniseCurrencyRateDelta");
        }
        return derecogniseCurrencyRateDelta;
    }
    
    public void setDerecogniseCurrencyRateDelta(Long value)
    {
        derecogniseCurrencyRateDeltaProperty().set(value);
    }
    
    public Long getDerecogniseCurrencyRateDelta()
    {
        return derecogniseCurrencyRateDeltaProperty().get();
    }
    
    public StringProperty serialProperty(){
        if (serial==null)
        {
            serial = new SimpleStringProperty(this, "serial");
        }
        return serial;
    }
    
    public void setSerial(String value)
    {
        serialProperty().set(value);
    }
    
    public String getSerial()
    {
        return serialProperty().get();
    }
    
    public LongProperty accountedValueProperty(){
        if (accountedValue==null)
        {
            accountedValue = new SimpleLongProperty(this, "accountedValue");
        }
        return accountedValue;
    }
    
    public void setAccountedValue(Long value)
    {
        accountedValueProperty().set(value);
    }
    
    public Long getAccountedValue()
    {
        return accountedValueProperty().get();
    }
    
    public LongProperty accumulatedInterestAccountedPriceProperty(){
        if (accumulatedInterestAccountedPrice==null)
        {
            accumulatedInterestAccountedPrice = new SimpleLongProperty(this, "accumulatedInterestAccountedPrice");
        }
        return accumulatedInterestAccountedPrice;
    }
    
    public void setAccumulatedInterestAccountedPrice(Long value)
    {
        accumulatedInterestAccountedPriceProperty().set(value);
    }
    
    public Long getAccumulatedInterestAccountedPrice()
    {
        return accumulatedInterestAccountedPriceProperty().get();
    }
    
     public LongProperty realisedInterestProperty(){
        if (realisedInterest==null)
        {
            realisedInterest = new SimpleLongProperty(this, "realisedInterest");
        }
        return realisedInterest;
    }
    
    public void setRealisedInterest(Long value)
    {
        realisedInterestProperty().set(value);
    }
    
    public Long getRealisedInterest()
    {
        return realisedInterestProperty().get();
    }
    
    public LongProperty realisedDividendProperty(){
        if (realisedDividend==null)
        {
            realisedDividend = new SimpleLongProperty(this, "realisedDividend");
        }
        return realisedDividend;
    }
    
    public void setRealisedDividend(Long value)
    {
        realisedDividendProperty().set(value);
    }
    
    public Long getRealisedDividend()
    {
        return realisedDividendProperty().get();
    }
    
    public LongProperty realisedRateDeltaProperty(){
        if (realisedRateDelta==null)
        {
            realisedRateDelta = new SimpleLongProperty(this, "realisedRateDelta");
        }
        return realisedRateDelta;
    }
    
    public void setRealisedRateDelta(Long value)
    {
        realisedRateDeltaProperty().set(value);
    }
    
    public Long getRealisedRateDelta()
    {
        return realisedRateDeltaProperty().get();
    }
    
    public LongProperty realisedCurrencyRateDeltaProperty(){
        if (realisedCurrencyRateDelta==null)
        {
            realisedCurrencyRateDelta = new SimpleLongProperty(this, "realisedCurrencyRateDelta");
        }
        return realisedCurrencyRateDelta;
    }
    
    public void setRealisedCurrencyRateDelta(Long value)
    {
        realisedCurrencyRateDeltaProperty().set(value);
    }
    
    public Long getRealisedCurrencyRateDelta()
    {
        return realisedCurrencyRateDeltaProperty().get();
    }
    
     public LongProperty derecognisedInterestProperty(){
        if (derecognisedInterest==null)
        {
            derecognisedInterest = new SimpleLongProperty(this, "derecognisedInterest");
        }
        return derecognisedInterest;
    }
    
    public void setDerecognisedInterest(Long value)
    {
        derecognisedInterestProperty().set(value);
    }
    
    public Long getDerecognisedInterest()
    {
        return derecognisedInterestProperty().get();
    }
    
    public LongProperty derecognisedDividendProperty(){
        if (derecognisedDividend==null)
        {
            derecognisedDividend = new SimpleLongProperty(this, "derecognisedDividend");
        }
        return derecognisedDividend;
    }
    
    public void setDerecognisedDividend(Long value)
    {
        derecognisedDividendProperty().set(value);
    }
    
    public Long getDerecognisedDividend()
    {
        return derecognisedDividendProperty().get();
    }
    
    public LongProperty derecognisedRateDeltaProperty(){
        if (derecognisedRateDelta==null)
        {
            derecognisedRateDelta = new SimpleLongProperty(this, "derecognisedRateDelta");
        }
        return derecognisedRateDelta;
    }
    
    public void setDerecognisedRateDelta(Long value)
    {
        derecognisedRateDeltaProperty().set(value);
    }
    
    public Long getDerecognisedRateDelta()
    {
        return derecognisedRateDeltaProperty().get();
    }
    
    public LongProperty derecognisedCurrencyRateDeltaProperty(){
        if (derecognisedCurrencyRateDelta==null)
        {
            derecognisedCurrencyRateDelta = new SimpleLongProperty(this, "derecognisedCurrencyRateDelta");
        }
        return derecognisedCurrencyRateDelta;
    }
    
    public void setDerecognisedCurrencyRateDelta(Long value)
    {
        derecognisedCurrencyRateDeltaProperty().set(value);
    }
    
    public Long getDerecognisedCurrencyRateDelta()
    {
        return derecognisedCurrencyRateDeltaProperty().get();
    }
    
    public FloatProperty acquisitionRateCurrencyProperty(){
        if (acquisitionRateCurrency == null)
        {
            acquisitionRateCurrency = new SimpleFloatProperty(this,"acquisitionRateCurrency");
        }
        return acquisitionRateCurrency;
    }
    
    public void setAcquisitionRateCurrency(Float value)
    {
        acquisitionRateCurrencyProperty().set(value);
    }
    
    public Float getAcquisitionRateCurrency()
    {
        return acquisitionRateCurrencyProperty().get();
    }
    
    public DoubleProperty acquisitionValueCurrencyProperty(){
        if (acquisitionValueCurrency == null)
        {
            acquisitionValueCurrency = new SimpleDoubleProperty(this,"acquisitionValueCurrency");
        }
        return acquisitionValueCurrency;
    }
    
    public void setAcquisitionValueCurrency(Double value)
    {
        acquisitionValueCurrencyProperty().set(value);
    }
    
    public Double getAcquisitionValueCurrency()
    {
        return acquisitionValueCurrencyProperty().get();
    }
    
    
}
